package com.sinog.alarm.service;

import com.sinog.alarm.model.Alarm;
import com.sinog.alarm.model.LocalCode;

/**
 * @desc AlarmInsertService
 * @author lk
 * @date 2022-02-18 14:54
 */
public interface AlarmInsertService {

    /**
     * 插入异常信息
     * @param alarm alarm
     */
    void insertAlarm(Alarm alarm);

    /**
     * 删除异常信息
     * @param localCode localCode
     */
    void deleteAlarmResons(LocalCode localCode);
}